package com.roc.steelend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.Client;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

@Repository
public interface ClientMapper extends BaseMapper<Client> {

    List<HashMap<String,Object>> findClientList(@Param("groupId")Integer groupId,@Param("searchMsg")String searchMsg,@Param("now")Integer now,@Param("size")Integer size);

    Boolean updateCLientDebt(@Param("clientId")Integer clientId,@Param("debt") BigDecimal debt);
}
